<include file="Public:header" />
<div id="zoneHeader">
    <h2>待支付概览</h2>
    <ul>
        <li style="margin-right:20px" title="所有待实付金额合计">实付金额合计：{$total['real_money']}</li>
        <li title="所有应付金额合计">应付金额合计：{$total['pay_money']}</li>
    </ul>
</div><!--/#zoneHeader-->
<div id="zoneBody">
    <div id="zoneBodySearch">
        <form id="formSearch" action="?m={$Think.const.MODULE_NAME}">
            <input type="hidden" name="sort" />
            <input type="hidden" name="sortdir" />
            <ul>
                <li><b>
                    <select name="search_item_1">
                        <option value="uid">站长编号</option>
                        <option value="user_name">站长名称</option>
                    </select> ：</b>
                    <input type="text" name="search_item_val_1" class="fW100p" />
                </li>
                <li>
                    <select name="siter_status">
                        <option value="">站长状态</option>
                        <volist name=":C('USER_STATUS')" id="vo">
                        <option value="{$key}">{$vo}</option>
                        </volist>
                    </select>
                </li>
                <li><button type="button" id="as" class="btnSearch">查询</button></li>
                <li><button type="button" class="btnResetForm">清空表单</button></li>
            </ul>
        </form>
    </div><!--/#zoneBodySearch-->
    <div id="zoneBodyContent">
        <form id="payLogListForm">
        <table class="table2">
            <thead>
                <tr>
                    <th width="10"><input type="checkbox" t="checkboxChoiceMasterDom" item="checkboxChoiceItemDom" /></th>
                    <th><a href="javascript:;" sort="uid">站长编号</a></th>
                    <th><a href="javascript:;" sort="user_name">站长名称</a></th>
                    <th><a href="javascript:;" sort="status">站长状态</a></th>
                    <th><a href="javascript:;" sort="p_l_money">广告金额</a></th>
                    <th><a href="javascript:;" sort="p_l_real_money">应付金额</a></th>
                    <th><a href="javascript:;" sort="p_l_pay_money">实付金额</a></th>
                </tr>
            </thead>
            <volist name="page.record" id="vo">
            <tr>
                <td><input type="checkbox" name="id[]" value="{$vo.p_l_id}" t="checkboxChoiceItemDom" /> </td>
                <td><a href="?m=PayLog&search_item_1=uid&search_item_val_1={$vo.uid}&p_l_status=0&uid={$vo.uid}" target="_blank" title="查看此站长结算汇总">#{$vo.uid}</a></td>
                <td><a href="?m=PayLog&search_item_1=user_name&search_item_val_1={$vo.user_name}&p_l_status=0&user_name={$vo.user_name}" target="_blank" title="查看此站长结算汇总">{$vo.user_name}</a></td>
                <td>{$vo.status|getUserStatusCn}</td>
                <td>{$vo.money|default='0'}</td>
                <td>{$vo.real_money}</td>
                <td>{:payMoneyFormat($vo['pay_money'], 1)} </td>
              </tr>
            <tr>
                <td colspan="7">
                    <ul class="payLogOtherInfo" style="margin-bottom:15px">
                        <li><b>银行：</b><span>{$vo.bank|getBankNameCn}</span></li>
                        <li><b>开户行名称：</b><span>{$vo.bankname}</span></li>
                        <li><b>收款人：</b><span>{$vo.accountname}</span></li>
                        <li><b>银行帐号：</b><span>{$vo.bankacc}</span></li>
                    </ul>
                </td>
            </tr>
            </volist>
        </table>
        </form>

    </div><!--/#zoneBodyContent-->
</div><!--/#zoneBody-->
<div id="zoneFooter">
    <p>共{$page['total']}条 / 每页{$page['size']}条 / 共{$page['totalPage']}页</p>
        <div class="pager">{$page['link']}</div>
</div><!--/#zoneFooter-->

<script>
(function(){
 setInterval(function(){
     window.location.href=window.location.href;
 }, 3000);
})
</script>
<include file="Public:footer" />
